<?php

#<editor-fold defaultstate="collapsed" desc="CCore::Using">
CCore::Using('base.container');
#</editor-fold>

abstract class ACoreDbConfig extends ACoreBaseContainer
{
	/**
	 * @param	string	$sHost
	 * @param	string	$sHost
	 * @param	string	$sPassword
	 * @param	string	$sDataBaseName
	 * @return	ACoreDbConfig
	 */
	public function __construct($sHost, $sLogin, $sPassword, $sDataBaseName)
	{
		CCore::CheckTypes(array('$sHost', '$sLogin', '$sPassword', '$sDataBaseName'));
		
		parent::__construct();

		$this->aContainer['Host'] = $sHost;
		$this->aContainer['Login'] = $sLogin;
		$this->aContainer['Password'] = $sPassword;
		$this->aContainer['DataBaseName'] = $sDataBaseName;
	}
}
